Goal System API - Implementation Template (US Core)
Custom object field addition
To add a field to a custom object in Health Cloud (HealthCloudGA____CarePlanGoal____c):
- From Health Cloud in the upper right corner, click the settings (gear) icon.
- Click Setup.
- From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
- Search for 'EHR Medication Prescription' and then click into it.
- In the 'Fields and Relationships' page, use the 'New' button and create the following fields:
Field Label | Field Name | Hardcode Value/Calculation |
---|---|---|
Name | Data Type | |
meta.lastUpdated | LastModifiedDate | |
text.status | Status____c | |
identifier[0].system | Identifier_System__c | |
identifier[0].value | Identifier_Value__c | |
lifecycleStatus__ | Status____c | |
achievementStatus.coding[0].system | Achievement__Status____c | |
achievementStatus.coding[0].code | Achievement__Status____c | |
achievementStatus.coding[0].display | Achievement__Status__Display____c | |
achievementStatus.text | Achievement__Status____c | |
category[0].coding[0].system | Category____System____c | |
category[0].coding[0].code | Category__Code____c | |
category[0].coding[0].display | Category__Display____c | |
category[0].text | Category__Text____c | |
priority.coding[0].system | Priority_System____c | |
priority.coding[0].code | Priority__Code____c | |
priority.coding[0].display | Priority__Display____c | |
subject.reference | Subject__Reference____c | |
subject.display | Name | |
start[0].startDate | Start__Date____c | |
start[0].startCodeableConcept.text | Start__Date____c | |
target[0].measure.coding[0].system | Target__Measure__System____c | |
target[0].measure.coding[0].code | Target__Measure__Code____c | |
target[0].measure.coding[0].display | Target__Measure__Display____c | |
target[0].measure.text | Target__Text____c | |
target[0].detail.detailQuantity.value | Target__Detail__Quantity__Value____c | |
target[0].detail.detailQuantity.comparator | Target__Detail_Quantity__Comparator____c | |
target[0].detail.detailQuantity.unit | Target__Detail__Quantity__Unit____c | |
target[0].detail.detailQuantity.system | Target__Detail__Quantity__System____c | |
target[0].detail.detailQuantity.code | Target__Detail__Quantity__Code____c | |
target[0].due.dueDate | Target__Due__Date____c | |
expressedBy.reference | Expressed__By__Reference____c | |
expressedBy.display | Expressed__By__Display____c | |
addresses.reference | Addresses__Reference____c | |
addresses.identifier.display | Addresses__Display____c |